<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_09) on Sat Dec 29 12:31:13 CET 2012 -->
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
<title>AttributeColumn (gephi 0.8.2 API)</title>
<meta name="date" content="2012-12-29">
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!--
    if (location.href.indexOf('is-external=true') == -1) {
        parent.document.title="AttributeColumn (gephi 0.8.2 API)";
    }
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar_top">
<!--   -->
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
<!--   -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/AttributeColumn.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../index-all.html">Index</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev Class</li>
<li><a href="../../../../../org/gephi/data/attributes/api/AttributeController.html" title="interface in org.gephi.data.attributes.api"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?org/gephi/data/attributes/api/AttributeColumn.html" target="_top">Frames</a></li>
<li><a href="AttributeColumn.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
  allClassesLink = document.getElementById("allclasses_navbar_top");
  if(window==top) {
    allClassesLink.style.display = "block";
  }
  else {
    allClassesLink.style.display = "none";
  }
  //-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_top">
<!--   -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">org.gephi.data.attributes.api</div>
<h2 title="Interface AttributeColumn" class="title">Interface AttributeColumn</h2>
</div>
<div class="contentContainer">
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr>
<br>
<pre>public interface <span class="strong">AttributeColumn</span></pre>
<div class="block">Column is the header of a data column. It belongs to an <code>AttributeTable</code>
 and is the key to access data within <code>AttributeRow</code>.
 <p>
 It contains its index that may be used to get the appropriate value in the
 <code>AttributeRow</code> values array.
 <p>
 For Gephi internal implementation purposes, names of columns are restricted. They can have any name
 except these defined in <a href="../../../../../org/gephi/data/properties/PropertiesColumn.html" title="enum in org.gephi.data.properties"><code>PropertiesColumn</code></a> enum.
 <h2>Iterate rows values</h2>
 <pre>
 Attribute row = ...;
 for(AttributeColumn column : table.getColumns()) {
      Object value = row.getValue(column);
 }
 </pre></div>
<dl><dt><span class="strong">Author:</span></dt>
  <dd>Mathieu Bastian, Martin Škurla</dd>
<dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../org/gephi/data/attributes/api/AttributeRow.html" title="interface in org.gephi.data.attributes.api"><code>AttributeRow</code></a>, 
<a href="../../../../../org/gephi/data/attributes/api/AttributeTable.html" title="interface in org.gephi.data.attributes.api"><code>AttributeTable</code></a></dd></dl>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method_summary">
<!--   -->
</a>
<h3>Method Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../org/gephi/data/attributes/api/AttributeColumn.html#getDefaultValue()">getDefaultValue</a></strong>()</code>
<div class="block">Returns the default value for this column.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../org/gephi/data/attributes/api/AttributeColumn.html#getId()">getId</a></strong>()</code>
<div class="block">Returns the id of this column.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/gephi/data/attributes/api/AttributeColumn.html#getIndex()">getIndex</a></strong>()</code>
<div class="block">Returns the index of this column.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/gephi/data/attributes/api/AttributeOrigin.html" title="enum in org.gephi.data.attributes.api">AttributeOrigin</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../org/gephi/data/attributes/api/AttributeColumn.html#getOrigin()">getOrigin</a></strong>()</code>
<div class="block">Returns the origin of this column content, meta-data that describes where
 the column comes from.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../org/gephi/data/attributes/spi/AttributeValueDelegateProvider.html" title="class in org.gephi.data.attributes.spi">AttributeValueDelegateProvider</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../org/gephi/data/attributes/api/AttributeColumn.html#getProvider()">getProvider</a></strong>()</code>
<div class="block">Returns the attribute value delegate provider.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/gephi/data/attributes/api/AttributeTable.html" title="interface in org.gephi.data.attributes.api">AttributeTable</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../org/gephi/data/attributes/api/AttributeColumn.html#getTable()">getTable</a></strong>()</code>
<div class="block">Returns the table that contains this column</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../org/gephi/data/attributes/api/AttributeColumn.html#getTitle()">getTitle</a></strong>()</code>
<div class="block">Returns the title of this column.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/gephi/data/attributes/api/AttributeType.html" title="enum in org.gephi.data.attributes.api">AttributeType</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../org/gephi/data/attributes/api/AttributeColumn.html#getType()">getType</a></strong>()</code>
<div class="block">Returns the type of this column content.</div>
</td>
</tr>
</table>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method_detail">
<!--   -->
</a>
<h3>Method Detail</h3>
<a name="getType()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getType</h4>
<pre><a href="../../../../../org/gephi/data/attributes/api/AttributeType.html" title="enum in org.gephi.data.attributes.api">AttributeType</a>&nbsp;getType()</pre>
<div class="block">Returns the type of this column content.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>the type of this column</dd></dl>
</li>
</ul>
<a name="getTitle()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getTitle</h4>
<pre><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getTitle()</pre>
<div class="block">Returns the title of this column. The title is a human-readable text that
 describes the column data. When no title exists, returns the <code>Id</code>
 of this column.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>the title of this column, if exists, or the <code>Id</code> otherwise</dd></dl>
</li>
</ul>
<a name="getIndex()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getIndex</h4>
<pre>int&nbsp;getIndex()</pre>
<div class="block">Returns the index of this column. The index is the fastest way to access a
 column from its <code>AttributeTable</code> or manipulate
 <code>AttributeRow</code>.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>the index of this column</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../org/gephi/data/attributes/api/AttributeTable.html#getColumn(int)"><code>AttributeTable.getColumn(int)</code></a>, 
<a href="../../../../../org/gephi/data/attributes/api/AttributeRow.html#getValue(int)"><code>AttributeRow.getValue(int)</code></a></dd></dl>
</li>
</ul>
<a name="getOrigin()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getOrigin</h4>
<pre><a href="../../../../../org/gephi/data/attributes/api/AttributeOrigin.html" title="enum in org.gephi.data.attributes.api">AttributeOrigin</a>&nbsp;getOrigin()</pre>
<div class="block">Returns the origin of this column content, meta-data that describes where
 the column comes from. Default value is <code>AttributeOrigin.DATA</code>.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>the origin of this column content</dd></dl>
</li>
</ul>
<a name="getId()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getId</h4>
<pre><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getId()</pre>
<div class="block">Returns the id of this column. The id is the unique identifier that describes
 the column data.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>the id of this column</dd></dl>
</li>
</ul>
<a name="getDefaultValue()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getDefaultValue</h4>
<pre><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;getDefaultValue()</pre>
<div class="block">Returns the default value for this column. May be <code>null</code>.
 <p>
 The returned <code>Object</code> class type is equal to the class obtained
 with <code>AttributeType.getType()</code>.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>the default value, or <code>null</code></dd></dl>
</li>
</ul>
<a name="getProvider()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getProvider</h4>
<pre><a href="../../../../../org/gephi/data/attributes/spi/AttributeValueDelegateProvider.html" title="class in org.gephi.data.attributes.spi">AttributeValueDelegateProvider</a>&nbsp;getProvider()</pre>
<div class="block">Returns the attribute value delegate provider. The Provider is always set if the origin of the
 current attribute column is AttributeOrigin.DELEGATE.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>attribute value delegate provider</dd></dl>
</li>
</ul>
<a name="getTable()">
<!--   -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>getTable</h4>
<pre><a href="../../../../../org/gephi/data/attributes/api/AttributeTable.html" title="interface in org.gephi.data.attributes.api">AttributeTable</a>&nbsp;getTable()</pre>
<div class="block">Returns the table that contains this column</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>Table for the column</dd></dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar_bottom">
<!--   -->
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
<!--   -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/AttributeColumn.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../index-all.html">Index</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev Class</li>
<li><a href="../../../../../org/gephi/data/attributes/api/AttributeController.html" title="interface in org.gephi.data.attributes.api"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?org/gephi/data/attributes/api/AttributeColumn.html" target="_top">Frames</a></li>
<li><a href="AttributeColumn.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
  allClassesLink = document.getElementById("allclasses_navbar_bottom");
  if(window==top) {
    allClassesLink.style.display = "block";
  }
  else {
    allClassesLink.style.display = "none";
  }
  //-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_bottom">
<!--   -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>Copyright &#169; 2007-2012 <a href="http://consortium.gephi.org">Gephi Consortium</a>. All Rights Reserved.</small></p>
</body>
</html>
